package cn.frt.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;



import cn.frt.pojo.Shops;
import cn.frt.pojo.Site;

public interface ShopsMapper {
	//添加运营商
	int insertShops(Shops shops);
	//获取Shops总数量
	int getShopsCount();
	//分页获取Shops数据
	List<Shops> shopsByPage(@Param("pageNo") int pageNo,@Param("pageSize") int pageSize);
	//登录
	Shops shopsLogin(@Param("shopsNumber") String shopsNumber);	
	//运营商管理
	List<Shops> selectShops();
	//根据shopId查询
	List<Shops> selectShopsById(@Param("shopsId") Integer shopsId);
	//根据shopId修改
	int updateShopsById(Shops shops);
	//根据ShopsId删除
	int deleteShopsById(@Param("shopsId") Integer shopsId);
	//查询场馆
	Site selectSite();
}
